package com.power.bank.member.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.power.bank.common.annotation.Excel;
import com.power.bank.common.core.domain.BaseEntity;

/**
 * 钱包记录对象 pb_member_capital_log
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
public class PbMemberCapitalLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long tantId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long mid;

    /** 记录单号 */
    @Excel(name = "记录单号")
    private String recordCode;

    /** 1：充值，2：提现 */
    @Excel(name = "1：充值，2：提现")
    private Long type;

    /** 充值方式（1 ：支付宝 ，2：微信，3：银联）当type值为1时该字段可用 */
    @Excel(name = "充值方式", readConverterExp = "1=,：=支付宝,，=2：微信，3：银联")
    private Long rechargeWay;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal capital;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String param1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String param2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String param3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String param4;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String param5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTantId(Long tantId) 
    {
        this.tantId = tantId;
    }

    public Long getTantId() 
    {
        return tantId;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setRecordCode(String recordCode) 
    {
        this.recordCode = recordCode;
    }

    public String getRecordCode() 
    {
        return recordCode;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setRechargeWay(Long rechargeWay) 
    {
        this.rechargeWay = rechargeWay;
    }

    public Long getRechargeWay() 
    {
        return rechargeWay;
    }
    public void setCapital(BigDecimal capital) 
    {
        this.capital = capital;
    }

    public BigDecimal getCapital() 
    {
        return capital;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }
    public void setParam2(String param2) 
    {
        this.param2 = param2;
    }

    public String getParam2() 
    {
        return param2;
    }
    public void setParam3(String param3) 
    {
        this.param3 = param3;
    }

    public String getParam3() 
    {
        return param3;
    }
    public void setParam4(String param4) 
    {
        this.param4 = param4;
    }

    public String getParam4() 
    {
        return param4;
    }
    public void setParam5(String param5) 
    {
        this.param5 = param5;
    }

    public String getParam5() 
    {
        return param5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("tantId", getTantId())
            .append("mid", getMid())
            .append("recordCode", getRecordCode())
            .append("type", getType())
            .append("rechargeWay", getRechargeWay())
            .append("capital", getCapital())
            .append("remark", getRemark())
            .append("param1", getParam1())
            .append("param2", getParam2())
            .append("param3", getParam3())
            .append("param4", getParam4())
            .append("param5", getParam5())
            .toString();
    }
}
